home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
TPUG - Toronto PET Users Group
/
TPUG Users Group CD
/
TPUG Users Group CD.iso
/
C64
/
A-Monthly Disks
/
(c)aan.d64
/
cross-ref.doc
< prev
next >
Wrap
Text File
|
2007-02-04
|
788b
|
28 lines
╠IKE TO WRITE ┬ASIC PROGRAMS, OR READ
OTHER PEOPLES ┬ASIC CODE? ├╥╧╙╙-╥┼╞64
IS A BIG HELP IN DOCUMENTING OR
ANALYZING ┬ASIC PROGRAM OPERATION.
╠OAD THIS TINY PROGRAM, SAY ╥╒╬, AND IT
WILL ASK YOU FOR THE NAME OF A ┬ASIC
PROGRAM TO ANALYZE. ╔T WILL DIG OUT
THE PROGRAM FROM DISK AND PICK OUT ITS
LOGIC ... WHEN IT ASKS ╨╥╔╬╘┼╥? IT'S
ALL OVER BUT THE OUTPUT. ┴NSWER ┘ FOR
YES (SEND OUTPUT TO ╨╥╔╬╘┼╥), ╬ FOR NO
(SEND OUTPUT TO SCREEN).
╙IX BLOCKS. ╔T'S A SMALL PROGRAM "ON
PURPOSE" ... TO LEAVE LOTS OF ROOM FOR
THE MASSES OF DATA THAT IT MAY NEED TO
BUILD WHEN ANALYZING A LARGE ┬ASIC
PROGRAM.
╫HAT YOU GET: EVERY LINE NUMBER THAT'S
REFERENCED FROM ANYWHERE IN THE
PROGRAM. ┼VERY VARIABLE THAT'S USED BY
THE PROGRAM, INCLUDING STRINGS AND
ARRAYS. ┴LL NEAT AND IN SORTED ORDER.